package com.gu.mobileweb.service.impl;

import com.gu.mobileweb.mapper.IndexHotMapper;
import com.gu.mobileweb.model.IndexHot;
import com.gu.mobileweb.service.IndexHotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexHotServiceImpl implements IndexHotService {
    @Autowired
    private IndexHotMapper indexHotMapper;

    @Override
    public List<IndexHot> getAllIndexHot() {
        return indexHotMapper.getAllIndexHot();
    }
}
